package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2025-05-13
 */
@Getter
@Setter
public class Material implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物料编号
     */
    @TableId(value = "material_id", type = IdType.AUTO)
    private Integer materialId;

    /**
     * 物料名称
     */
    private String materialName;

    /**
     * 材料类型
     */
    private String materialType;

    /**
     * 供应商名称
     */
    private String providerName;

    /**
     * 厂址
     */
    private String factoryAddress;

    /**
     * 入库时间
     */
    private LocalDateTime storageTime;

    /**
     * 规格
     */
    private String specification;

    /**
     * 联系人
     */
    private String contactPerson;

    /**
     * 手机
     */
    private String phone;

    /**
     * 物料说明
     */
    private String description;

    private Integer deptId;
}
